import request from '@/utils/request'

export function info(token, data) {
  return request({
    url: '/merchant/merchant/index_info',
    method: 'post',
    params: { token },
    data
  })
}
// 获取温度信息
export function getTemperature(token, data) {
  return request({
    url: 'access/temp_config/info',
    method: 'post',
    params: { token },
    data
  })
}
// 更新温度信息
export function switchTemperature(token, data) {
  return request({
    url: 'access/temp_config/edit',
    method: 'post',
    params: { token },
    data
  })
}

//获取每日数据
export function service_getList(token, data) {
  return request({
    url: 'access/service/getList',
    method: 'post',
    params: { token },
    data
  })
}

